package vaccine.appointment.system.common.errorcode;

/**
 * 通用错误码
 */
public interface CommonErrorCode {
    ErrorCode UNAUTHORIZED = new ErrorCode(401, "未授权，请先登录");
    ErrorCode FORBIDDEN = new ErrorCode(403, "权限不足，无法访问");
    ErrorCode NOT_FOUND = new ErrorCode(404, "资源不存在");
    ErrorCode INVALID_PARAMETER = new ErrorCode(400, "参数错误");
}

